package com.library.dao;

import java.sql.Date;

import com.library.servlet.Resource;

public class Reservation {
	private int reservationId;
	private int userId;
	private int bookTitleId;
	private Date date;
	private String status;
	private Date bookAvalableDate;
	
	public Reservation() {
		setStatus(Resource.WAITTING);
	}

	public int getReservationId() {
		return reservationId;
	}
	
	public Date getBookAvailableDate(){
		return bookAvalableDate;
	}
	
	public void setBookAvailableDate(Date d){
		bookAvalableDate = d;
	}

	public void setReservationId(int reservationId) {
		this.reservationId = reservationId;
	}

	public int getUserId() {
		return userId;
	}

	public void setUserId(int userId) {
		this.userId = userId;
	}

	public int getBookTitleId() {
		return bookTitleId;
	}

	public void setBookTitleId(int bookTitleId) {
		this.bookTitleId = bookTitleId;
	}

	public Date getDate() {
		return date;
	}

	public void setDate(Date date) {
		this.date = date;
	}

	public String getStatus() {
		return status;
	}

	public void setStatus(String status) {
		this.status = status;
	}
	
}
